import React from 'react';
import ReactDOM from 'react-dom';
import { BrowserRouter } from 'react-router-dom';

// 引入蚂蚁样式，注释 by zhangguangde ，已经在index.html引入
// import 'antd/dist/antd.css';
// 公共样式
import './themes/style/common.css';
// 项目主模块
import App from './App';
import * as serviceWorker from './serviceWorker';

ReactDOM.render(
	(<BrowserRouter>
	    <App />
  	</BrowserRouter>),
  	document.getElementById('root')
);

// If you want your app to work offline and load faster, you can change
// unregister() to register() below. Note this comes with some pitfalls.
// Learn more about service workers: http://bit.ly/CRA-PWA
serviceWorker.unregister();